package com.zzj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzj.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.model.vo.CommentVo;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-07-17
 */
public interface ICommentService extends IService<Comment> {

    IPage<CommentVo> findByTargetId(Page<?> page, int targetID,int targetType);

    CommentVo findById(int id);

}
